3.81 \(\int \frac{x^5}{a x+b x^3+c x^5} \, dx\)

Optimal. Leaf size=179 \[ -\frac{\left (b-\frac{b^2-2 a c}{\sqrt{b^2-4 a c}}\right ) \tan ^{-1}\left (\frac{\sqrt{2} \sqrt{c} x}{\sqrt{b-\sqrt{b^2-4 a c}}}\right )}{\sqrt{2} c^{3/2} \sqrt{b-\sqrt{b^2-4 a c}}}-\frac{\left (\frac{b^2-2 a c}{\sqrt{b^2-4 a c}}+b\right ) \tan ^{-1}\left (\frac{\sqrt{2} \sqrt{c} x}{\sqrt{\sqrt{b^2-4 a c}+b}}\right )}{\sqrt{2} c^{3/2} \sqrt{\sqrt{b^2-4 a c}+b}}+\frac{x}{c} \]

[Out]

x/c - ((b - (b^2 - 2*a*c)/Sqrt[b^2 - 4*a*c])*ArcTan[(Sqrt[2]*Sqrt[c]*x)/Sqrt[b -
 Sqrt[b^2 - 4*a*c]]])/(Sqrt[2]*c^(3/2)*Sqrt[b - Sqrt[b^2 - 4*a*c]]) - ((b + (b^2
 - 2*a*c)/Sqrt[b^2 - 4*a*c])*ArcTan[(Sqrt[2]*Sqrt[c]*x)/Sqrt[b + Sqrt[b^2 - 4*a*
c]]])/(Sqrt[2]*c^(3/2)*Sqrt[b + Sqrt[b^2 - 4*a*c]])

_______________________________________________________________________________________

Rubi [A]  time = 0.528439, antiderivative size = 179, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 4, integrand size = 20, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.2 \[ -\frac{\left (b-\frac{b^2-2 a c}{\sqrt{b^2-4 a c}}\right ) \tan ^{-1}\left (\frac{\sqrt{2} \sqrt{c} x}{\sqrt{b-\sqrt{b^2-4 a c}}}\right )}{\sqrt{2} c^{3/2} \sqrt{b-\sqrt{b^2-4 a c}}}-\frac{\left (\frac{b^2-2 a c}{\sqrt{b^2-4 a c}}+b\right ) \tan ^{-1}\left (\frac{\sqrt{2} \sqrt{c} x}{\sqrt{\sqrt{b^2-4 a c}+b}}\right )}{\sqrt{2} c^{3/2} \sqrt{\sqrt{b^2-4 a c}+b}}+\frac{x}{c} \]

Antiderivative was successfully verified.

[In]  Int[x^5/(a*x + b*x^3 + c*x^5),x]

[Out]

x/c - ((b - (b^2 - 2*a*c)/Sqrt[b^2 - 4*a*c])*ArcTan[(Sqrt[2]*Sqrt[c]*x)/Sqrt[b -
 Sqrt[b^2 - 4*a*c]]])/(Sqrt[2]*c^(3/2)*Sqrt[b - Sqrt[b^2 - 4*a*c]]) - ((b + (b^2
 - 2*a*c)/Sqrt[b^2 - 4*a*c])*ArcTan[(Sqrt[2]*Sqrt[c]*x)/Sqrt[b + Sqrt[b^2 - 4*a*
c]]])/(Sqrt[2]*c^(3/2)*Sqrt[b + Sqrt[b^2 - 4*a*c]])

_______________________________________________________________________________________

Rubi in Sympy [A]  time = 55.5662, size = 189, normalized size = 1.06 \[ \frac{x}{c} - \frac{\sqrt{2} \left (- 2 a c + b^{2} + b \sqrt{- 4 a c + b^{2}}\right ) \operatorname{atan}{\left (\frac{\sqrt{2} \sqrt{c} x}{\sqrt{b + \sqrt{- 4 a c + b^{2}}}} \right )}}{2 c^{\frac{3}{2}} \sqrt{b + \sqrt{- 4 a c + b^{2}}} \sqrt{- 4 a c + b^{2}}} + \frac{\sqrt{2} \left (- 2 a c + b^{2} - b \sqrt{- 4 a c + b^{2}}\right ) \operatorname{atan}{\left (\frac{\sqrt{2} \sqrt{c} x}{\sqrt{b - \sqrt{- 4 a c + b^{2}}}} \right )}}{2 c^{\frac{3}{2}} \sqrt{b - \sqrt{- 4 a c + b^{2}}} \sqrt{- 4 a c + b^{2}}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate(x**5/(c*x**5+b*x**3+a*x),x)

[Out]

x/c - sqrt(2)*(-2*a*c + b**2 + b*sqrt(-4*a*c + b**2))*atan(sqrt(2)*sqrt(c)*x/sqr
t(b + sqrt(-4*a*c + b**2)))/(2*c**(3/2)*sqrt(b + sqrt(-4*a*c + b**2))*sqrt(-4*a*
c + b**2)) + sqrt(2)*(-2*a*c + b**2 - b*sqrt(-4*a*c + b**2))*atan(sqrt(2)*sqrt(c
)*x/sqrt(b - sqrt(-4*a*c + b**2)))/(2*c**(3/2)*sqrt(b - sqrt(-4*a*c + b**2))*sqr
t(-4*a*c + b**2))

_______________________________________________________________________________________

Mathematica [A]  time = 0.189434, size = 202, normalized size = 1.13 \[ -\frac{\left (b \sqrt{b^2-4 a c}+2 a c-b^2\right ) \tan ^{-1}\left (\frac{\sqrt{2} \sqrt{c} x}{\sqrt{b-\sqrt{b^2-4 a c}}}\right )}{\sqrt{2} c^{3/2} \sqrt{b^2-4 a c} \sqrt{b-\sqrt{b^2-4 a c}}}-\frac{\left (b \sqrt{b^2-4 a c}-2 a c+b^2\right ) \tan ^{-1}\left (\frac{\sqrt{2} \sqrt{c} x}{\sqrt{\sqrt{b^2-4 a c}+b}}\right )}{\sqrt{2} c^{3/2} \sqrt{b^2-4 a c} \sqrt{\sqrt{b^2-4 a c}+b}}+\frac{x}{c} \]

Antiderivative was successfully verified.

[In]  Integrate[x^5/(a*x + b*x^3 + c*x^5),x]

[Out]

x/c - ((-b^2 + 2*a*c + b*Sqrt[b^2 - 4*a*c])*ArcTan[(Sqrt[2]*Sqrt[c]*x)/Sqrt[b -
Sqrt[b^2 - 4*a*c]]])/(Sqrt[2]*c^(3/2)*Sqrt[b^2 - 4*a*c]*Sqrt[b - Sqrt[b^2 - 4*a*
c]]) - ((b^2 - 2*a*c + b*Sqrt[b^2 - 4*a*c])*ArcTan[(Sqrt[2]*Sqrt[c]*x)/Sqrt[b +
Sqrt[b^2 - 4*a*c]]])/(Sqrt[2]*c^(3/2)*Sqrt[b^2 - 4*a*c]*Sqrt[b + Sqrt[b^2 - 4*a*
c]])

_______________________________________________________________________________________

Maple [B]  time = 0.004, size = 343, normalized size = 1.9 \[{\frac{x}{c}}-{\frac{b\sqrt{2}}{2\,c}\arctan \left ({cx\sqrt{2}{\frac{1}{\sqrt{ \left ( b+\sqrt{-4\,ac+{b}^{2}} \right ) c}}}} \right ){\frac{1}{\sqrt{ \left ( b+\sqrt{-4\,ac+{b}^{2}} \right ) c}}}}+{\sqrt{2}a\arctan \left ({cx\sqrt{2}{\frac{1}{\sqrt{ \left ( b+\sqrt{-4\,ac+{b}^{2}} \right ) c}}}} \right ){\frac{1}{\sqrt{-4\,ac+{b}^{2}}}}{\frac{1}{\sqrt{ \left ( b+\sqrt{-4\,ac+{b}^{2}} \right ) c}}}}-{\frac{\sqrt{2}{b}^{2}}{2\,c}\arctan \left ({cx\sqrt{2}{\frac{1}{\sqrt{ \left ( b+\sqrt{-4\,ac+{b}^{2}} \right ) c}}}} \right ){\frac{1}{\sqrt{-4\,ac+{b}^{2}}}}{\frac{1}{\sqrt{ \left ( b+\sqrt{-4\,ac+{b}^{2}} \right ) c}}}}+{\frac{b\sqrt{2}}{2\,c}{\it Artanh} \left ({cx\sqrt{2}{\frac{1}{\sqrt{ \left ( -b+\sqrt{-4\,ac+{b}^{2}} \right ) c}}}} \right ){\frac{1}{\sqrt{ \left ( -b+\sqrt{-4\,ac+{b}^{2}} \right ) c}}}}+{\sqrt{2}a{\it Artanh} \left ({cx\sqrt{2}{\frac{1}{\sqrt{ \left ( -b+\sqrt{-4\,ac+{b}^{2}} \right ) c}}}} \right ){\frac{1}{\sqrt{-4\,ac+{b}^{2}}}}{\frac{1}{\sqrt{ \left ( -b+\sqrt{-4\,ac+{b}^{2}} \right ) c}}}}-{\frac{\sqrt{2}{b}^{2}}{2\,c}{\it Artanh} \left ({cx\sqrt{2}{\frac{1}{\sqrt{ \left ( -b+\sqrt{-4\,ac+{b}^{2}} \right ) c}}}} \right ){\frac{1}{\sqrt{-4\,ac+{b}^{2}}}}{\frac{1}{\sqrt{ \left ( -b+\sqrt{-4\,ac+{b}^{2}} \right ) c}}}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int(x^5/(c*x^5+b*x^3+a*x),x)

[Out]

x/c-1/2/c*2^(1/2)/((b+(-4*a*c+b^2)^(1/2))*c)^(1/2)*arctan(c*x*2^(1/2)/((b+(-4*a*
c+b^2)^(1/2))*c)^(1/2))*b+1/(-4*a*c+b^2)^(1/2)*2^(1/2)/((b+(-4*a*c+b^2)^(1/2))*c
)^(1/2)*arctan(c*x*2^(1/2)/((b+(-4*a*c+b^2)^(1/2))*c)^(1/2))*a-1/2/c/(-4*a*c+b^2
)^(1/2)*2^(1/2)/((b+(-4*a*c+b^2)^(1/2))*c)^(1/2)*arctan(c*x*2^(1/2)/((b+(-4*a*c+
b^2)^(1/2))*c)^(1/2))*b^2+1/2/c*2^(1/2)/((-b+(-4*a*c+b^2)^(1/2))*c)^(1/2)*arctan
h(c*x*2^(1/2)/((-b+(-4*a*c+b^2)^(1/2))*c)^(1/2))*b+1/(-4*a*c+b^2)^(1/2)*2^(1/2)/
((-b+(-4*a*c+b^2)^(1/2))*c)^(1/2)*arctanh(c*x*2^(1/2)/((-b+(-4*a*c+b^2)^(1/2))*c
)^(1/2))*a-1/2/c/(-4*a*c+b^2)^(1/2)*2^(1/2)/((-b+(-4*a*c+b^2)^(1/2))*c)^(1/2)*ar
ctanh(c*x*2^(1/2)/((-b+(-4*a*c+b^2)^(1/2))*c)^(1/2))*b^2

_______________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \[ \frac{x}{c} - \frac{\int \frac{b x^{2} + a}{c x^{4} + b x^{2} + a}\,{d x}}{c} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(x^5/(c*x^5 + b*x^3 + a*x),x, algorithm="maxima")

[Out]

x/c - integrate((b*x^2 + a)/(c*x^4 + b*x^2 + a), x)/c

_______________________________________________________________________________________

Fricas [A]  time = 0.276631, size = 1430, normalized size = 7.99 \[ \text{result too large to display} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(x^5/(c*x^5 + b*x^3 + a*x),x, algorithm="fricas")

[Out]

-1/2*(sqrt(1/2)*c*sqrt(-(b^3 - 3*a*b*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)
*sqrt((b^4 - 2*a*b^2*c + a^2*c^2)/(b^2*c^6 - 4*a*c^7)))/(b^2*c^3 - 4*a*c^4))) -
sqrt(1/2)*c*sqrt(-(b^3 - 3*a*b*c - (b^2*c^3 - 4*a*c^4)*sqrt((b^4 - 2*a*b^2*c + a
^2*c^2)/(b^2*c^6 - 4*a*c^7)))/(b^2*c^3 - 4*a*c^4))*log(-2*(a*b^2 - a^2*c)*x - sq
rt(1/2)*(b^4 - 5*a*b^2*c + 4*a^2*c^2 + (b^3*c^3 - 4*a*b*c^4)*sqrt((b^4 - 2*a*b^2
*c + a^2*c^2)/(b^2*c^6 - 4*a*c^7)))*sqrt(-(b^3 - 3*a*b*c - (b^2*c^3 - 4*a*c^4)*s
qrt((b^4 - 2*a*b^2*c + a^2*c^2)/(b^2*c^6 - 4*a*c^7)))/(b^2*c^3 - 4*a*c^4))) - 2*
x)/c

_______________________________________________________________________________________

Sympy [A]  time = 5.89626, size = 129, normalized size = 0.72 \[ \operatorname{RootSum}{\left (t^{4} \left (256 a^{2} c^{5} - 128 a b^{2} c^{4} + 16 b^{4} c^{3}\right ) + t^{2} \left (48 a^{2} b c^{2} - 28 a b^{3} c + 4 b^{5}\right ) + a^{3}, \left ( t \mapsto t \log{\left (x + \frac{32 t^{3} a b c^{4} - 8 t^{3} b^{3} c^{3} - 4 t a^{2} c^{2} + 8 t a b^{2} c - 2 t b^{4}}{a^{2} c - a b^{2}} \right )} \right )\right )} + \frac{x}{c} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(x**5/(c*x**5+b*x**3+a*x),x)

[Out]

RootSum(_t**4*(256*a**2*c**5 - 128*a*b**2*c**4 + 16*b**4*c**3) + _t**2*(48*a**2*
b*c**2 - 28*a*b**3*c + 4*b**5) + a**3, Lambda(_t, _t*log(x + (32*_t**3*a*b*c**4
- 8*_t**3*b**3*c**3 - 4*_t*a**2*c**2 + 8*_t*a*b**2*c - 2*_t*b**4)/(a**2*c - a*b*
*2)))) + x/c

_______________________________________________________________________________________

GIAC/XCAS [A]  time = 0.774935, size = 1, normalized size = 0.01 \[ \mathit{Done} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(x^5/(c*x^5 + b*x^3 + a*x),x, algorithm="giac")

[Out]

Done